.post-card {
  &:not(:last-child) {
    border-bottom: 1px solid #EBEBEB;
  }

  &:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }

  &:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  padding: 24px 30px;

  & ~ span:not(:last-child) {
    margin-bottom: 15px;
  }

  &:hover {
    background-color: #FCFCFC;
  }

  span {
    display: inline-block;
  }

  .unit-user {
    display: flex;
    align-items: center;
    font-size: 12px;

    span:not(:last-child) {
      margin-right: 10px;
    }

    margin-bottom: 15px;

    .avatar {
      width: 30px;
      height: 30px;
      border-radius: 15px;
      background-size: cover;
    }

    .nickname {
      color: #666;
    }

    .level {
      border-radius: 2px;
      background-color: #FFBF00;
      color: white;
      font-weight: bold;
      padding: 0 4px;
    }

    .post-user-info {
      color: #CCC;
    }
  }

  .unit-post-main {
    display: block;

    &:hover .post-main-title {
      color: #00C3FF;
    }

    .post-main-title {
      color: black;
      font-weight: bold;
      margin-bottom: 8px;

      .organization {
        border-radius: 2px;
        color: white;
        font-size: 14px;
        padding: 0 5px 1px;
        background-color: #00C3FF;
        margin-right: 10px;
      }
    }

    .post-main-summary {
      color: #999;
      font-size: 14px;

      .content {
        width: 100%;
        outline: none;
        border: none;
        resize: none;
        background-color: transparent;
        cursor: inherit;
        overflow: hidden;
      }
    }

    .post-main-img {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-bottom: 8px;

      .thumbnail {
        width: 120px;
        height: 120px;
        border-radius: 6px;
        background-size: cover;
        background-position: 50%;
        overflow: hidden;

        &:not(:last-child) {
          margin-right: 10px;
        }
      }
    }
  }

  .unit-post-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;

    .tags {
      color: #666;
      font-size: 12px;

      span {
        border-radius: 1em;
        background-color: #F5F5F5;
        padding: 3px 7px 4px;

        &:not(:last-child) {
          margin-right: 10px;
        }
      }
    }

    .data {
      font-size: 14px;
      color: #CCC;
      display: flex;
      align-items: center;

      .data-inner-box {
        display: flex;
        align-items: center;

        &:not(:last-child) {
          margin-right: 30px;
        }

        &.reply {
          cursor: pointer;
        }

        &.like {
          cursor: pointer;
        }

        .icon {
          width: 18px;
          height: 18px;
          margin-right: 5px;
        }
      }
    }
  }
}
